Clean up mouse highlight in R2L lines.
authorEli Zaretskii <eliz@gnu.org>
Sat, 28 Aug 2010 15:23:10 +0000 (18:23 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 28 Aug 2010 15:23:10 +0000 (18:23 +0300)
commitbcf6242f1c499ef6b5f6ba179a3ab273846ddc64
tree0dd3cdfd911b318687739a46c3e97076bf91e3d2
parent11b9a75013bcbc3707cf31ed4c4911067aa45820
Clean up mouse highlight in R2L lines.

 xdisp.c (coords_in_mouse_face_p): New function, bidi-aware.
 (cursor_in_mouse_face_p, note_mouse_highlight, erase_phys_cursor):
 Call it instead of comparing with mouse-face members of dpyinfo.
 (note_mode_line_or_margin_highlight): Fix confusingly swapped
 usage of hpos and vpos.
src/ChangeLog
src/xdisp.c